import React from 'react';
import { Breadcrumb } from 'antd';
function Index(props: any) {
  const rot = [
    { name: '首页', path: '/' },
    { name: '门店', path: '/storeAllStore' },
  ];
  return (
    <div>
      <Breadcrumb>
        {rot.map((e) => (
          <Breadcrumb.Item key={e.name}>
            <a href={e.path}>{e.name}</a>
          </Breadcrumb.Item>
        ))}
      </Breadcrumb>
      <h2 style={{ marginLeft: '40%', marginTop: '14%' }}>门店首页</h2>
    </div>
  );
}

export default Index;
